const { baseModel } = require('./baseModel')
const mongoose = require('mongoose')
const menuSchema = new mongoose.Schema({
    mName:{
        required:true,
        type:String,
        //设置唯一值
        unique:true
    },
    mValue:{
        required:true,
        type:String,
        unique:true
    },
    ...baseModel
})

module.exports = menuSchema;